package br.com.wepa.webapps.orca.controle;

import br.com.wepa.webapps.orca.visual.msg.MessagesConstants;

public interface ConstantesControle  extends MessagesConstants{

	public static final String NAMESPACE_CONTROLE = "ControleWeb";
	//Scopes
	public static final String SESSION_SCOPE = "session";
	public static final String REQUEST_SCOPE = "request";
	public static final String APPLICATION_SCOPE = "application";
	
	public static final String ACTIONSUFIX = ".do";
	public static final String JSPSUFIX = ".jsp";
	public static final String PARAMETER = "method";	
	public static final String USUARIOWEB = "usuarioWeb";
	public static final String MENU = "MENU";
	
	public static final String CONTROL_EXCEPTION_MSG = "controlExceptionMsg";
	
	public static  final String ACTIONTRACER = "tracer";
	public static  final Integer ACTIONTRACER_DEFAULT_SIZE = 10;
	
//	 Global Action	  
	public static final String GLOBAL_ACTION_SESSAOEXPIRADA = "/sessaoExpirada" +ACTIONSUFIX;	
	
	// Global Forwards	 
	public static final String GLOBAL_FWPAGE_PRINCIPAL = "principal_sistema";	
	public static final String GLOBAL_FWPAGE_index = "index";
	public static final String GLOBAL_FWPAGE_exibeMsg = "exibeMsg";
	public static final String GLOBAL_FWPAGE_globalMsg = "globalMsg";
	
		
//	 Local Forwards
	//pages
	public static final String FORWARD_PAGE_PRINCIPAL = "principal";
	public static final String FORWARD_PAGE_LISTA = "lista";
	public static final String FORWARD_PAGE_DETALHA = "detalha";
	public static final String FORWARD_PAGE_CADASTRO = "cadastro";
	public static final String FORWARD_PAGE_PESQUISAR = "pesquisar";

	
	
	//methods
	public static final String FORWARD_GO_ACTION = "action";
	public static final String FORWARD_GO_CADASTRAR = "goCadastrar";
	public static final String FORWARD_GO_PESQUISAR = "goPesquisar";
	public static final String FORWARD_GO_DETALHAR = "goDetalhar";
	public static final String FORWARD_GO_LISTAR = "goListar";
	public static final String FORWARD_GO_ATUALIZAR = "goAtualizar";
	public static final String FORWARD_GO_REMOVER = "remover";
	public static final String FORWARD_GO_GRAVAR = "gravar";
	
	
	
}
